<script>
	import 'uni_modules/yihafo-openAppProduct'
	import 'uni_modules/harmony-wechat'
	export default {
		onLaunch: function() {
			uni.onPushMessage((res) => {
				console.info("收到消息: "+res)
			})
			console.log('App Launch')
			uni.getPushClientId({
				success:(res) => {
					let push_clientid = res.cid
					console.info("client id："+push_clientid)
				},
				fail(err) {
					console.error("push error:"+err)
				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
